package com.binfenhulian.chinaenergy.ces.manage.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by wanghjbuf on 2018/3/14.
 */
@Controller
@RequestMapping("/")
public class SiteExceptionController {

    @RequestMapping("/401.html")
    public String error401() {
        return "common/401";
    }

    @RequestMapping("/404.html")
    public String error404(Exception e) {
        return "common/404";
    }

    @RequestMapping("/500.html")
    public String error500() {
        return "common/500";
    }
}